home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-05-07 | 26.7 KB | 580 lines | [TEXT/R*ch] |
- Newsgroups: comp.sys.mac.programmer.info
- Subject: [REV] Mac Programming Book Review (2/3)
- From: nick.c <nick@chem.ucla.edu>
- Organization: Digital Innovations
- Approved: MacTech Online <Online@MacTech.com>
- Distribution: world
- Mime-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- X-Newsreader: Nick's "Quick Hack" Poster
-
-
-
-
-
-
-
-
- Part 2 of 3
- ~~~~~~~~~~~
-
- // ====================== Learning the Toolbox =========================
- //
- // Once you understand a programming language the next step is
- // learning the Toolbox.
- //
-
-
- _Foundations of Mac Programming_ by Dan Parks Sydow
- IDG Books, 1995 ISBN: 1-56884-349-6, $40, 708 pages
-
- One of the best ways to learn a concept is to see sample source
- code demonstrating the concept. Foundations of Macintosh programming
- serves as both a reference book with syntax references and a tutorial
- book with sample source code that can be compiled using CodeWarrior
- [or Symantec C++]. Dan has taken Niklaus Wirth's phrase “Programming
- is a constructive art” and turned it into this wonderful book.
-
- -- Greg Galanos <prez@metrowerks.com>
- (except from foreward of Foundations)
-
- Possibly the most comprehensive tutorial on Macintosh programming
- in print today, and exceptionally well organized. With source code
- included on CD in both Symantec C++ and CodeWarrior format this book
- develops a solid basis with well written discussions of event
- driven program construction, the nature and management of memory
- storage on the Macintosh, the roll of resources in Macintosh programs,
- drawing on the Mac. These basic concepts established, the author
- then presents clear and concise implementations of all the fundamentals
- of a Macintosh programming: windows and dialogs, menus and file
- management, quickdraw, text, sound, color and printing. More
- advanced topics such as quickdraw GX, quicktime movies, power mac
- programming, and even a brief discussion of Copland--system 8.
-
- -- nick.c
-
- ***
-
- !! _Mac Programming FAQ's_ by Stephen H. Baker & Dave Mark
- IDG Books, 1996 ISBN: 0-7645-4001-7
-
- This book isn't a tutorial, and it won't teach you how to program
- a Mac--but there's a lot of books that do that. Mac Programming FAQ's
- is a reference for intermediate to advanced Macintosh programmers
- who know the basics but run up against one of those 650+ frequently
- asked questions that haunt us all. How do I use an off screen graphics
- port? How do I change the cursor? How do I set the style of text
- in a text edit field? You will ask yourself these questions someday,
- you can find the answers in Mac Programming FAQ's. Highly recommended.
-
- -- nick.c
-
- ***
-
- _Macintosh Programming Starter Kit_ by Jim Trudeau
- Hayden Books, 1995 ISBN: 1-56830-174-X
-
- MPSK assumes no knowledge of C, and includes a long (about 80 pages)
- appendix called The Guide to C by yours truly. The book is peppered with
- "C-notes." When some C concept is introduced for the first time (Oh, here's
- a FOR loop), there's a note directing you to a section in the appendix.
- This accomplishes two things. It keeps the language-learning stuff out of
- the Mac-programming info, so those who already know C are not bored to
- tears. Second, it lets someone who doesn't know C find out about what they
- need to know when they need it, and not sooner. So they learn the language
- while they program.
-
- -- Jim Trudeau
-
- Jim Trudeau takes on a huge challenge in attempting to present a tutorial
- that introduces the reader to both the C language and the Macintosh
- toolbox at once--and he does a great job of it. The Macintosh Programming
- Starter Kit is the only book I'm aware of that attempts this, and includes
- and excellant discussion of many issues pertinent to beginning and
- experienced macintosh programmers. The Starter Kit provides an excellant
- jump start to learning Macintosh programming from the ground up.
-
- -- nick.c
-
- <http://www.mcp.com/hayden/MPSK/index.html>
-
- ***
-
- _Macintosh Programming Techniques_, 2nd Edition by Dan Parks Sydow
- M&T Books, 1996 ISBN 1-55851-458-9
-
- When the first edition of the book came out, there was no Metrowerks
- CodeWarrior and no PowerPC Macs. That edition came with only Symantec
- versions of each book example. Now, of course, CodeWarrior is upon us. The
- 2nd edition includes a CD with three versions of each book example:
- Metrowerks CodeWarrior, Symantec C++, and THINK C. The first edition of
- course made no reference to the PowerPC. The 2nd edition does - there's a
- chapter on PowerPC programming, and all examples in other chapters have
- been tested on both PowerPC and 68K Macs. There's also a new chapter on
- text and strings, and a new chapter on applications and the Finder.
- Finally, the CD also comes with a Lite version of the Symantec C++ 8.0
- compiler. This version allows you to run all of the examples, but won't
- let you create new projects. A sort of "try before you buy" deal.
-
- - Dan Parks Sydow <danparks@aol.com>
-
- ***
-
- _The Ultimate Mac Programming Book: Methods of the Macintosh Masters_
- by Dave Mark, Programmers Press/IDG Books, 1994 ISBN: 1-56884-275-5
-
- Comes with a CD of source code and CodeWarrior Lite. An intermediate
- Mac programming book (which is always a good thing) and some essays
- on Apple Events. I haven't read much yet, but it looks useful.
-
- - Avi Rappoport <AviRr@metrowerks.com>
-
- I highly recommend Ultimate Mac Programming. Discussion on Apple
- Events, Sound Manager 3.0 (cool), OSA, the Object Model, Apple
- Script (and the scriptable Finder), patching traps, various and
- sundry things about resources and the toolbox...plus, lots of MW
- source. An excellent intermediate-level book.
-
- (And somewhere in the book, Dave says there's a "volume 2" in the
- works.)
- - Jason Newquist <jrnewquist@ucdavis.edu>
-
- An excellent book and reference for the intermediate programmer.
- Covers a wealth of topics, all well-focused. Dave mentions at one
- point that the book was originally designed to be a manual for Mac
- game programmers, so a great deal of the topics are related to that
- sector of programmers (like Sound Manager 3.0...which is a
- highlight of the book). Lots of focus, though on scripting and
- events. Comes bundled with a CD-ROM containing a playground
- version of CodeWarrior (which lets you work with existing projects,
- but not create new ones) and all sorts of source code. Also a
- wealth of utilities for the programmer. Also includes some mac
- programming folklore and interviews with gurus.
- Covers: Apple Events/OSA/Object Model, AppleScript and scriptable
- Dinder, working with sound, patching traps, resources, toolbox
- miscellany, appendicies with Apple Event Objects and coding, more
- on scripting, guide to Frontier, required Apple Events CD Contains:
- all source code in book, internet tools, runtime versions of
- Frontier, lots of scripting stuff, lots of demos (Conflict Catcher,
- Resourcer, etc), shareware galore (including games).
- Overall: as a non-linear tutorial, the book is great. You'll return
- to it again and again. A bit more advanced and thorough in some
- places than Sydow's _More MPT_, but generally treats different
- subject matter.
- - Jason Newquist <jrnewquist@ucdavis.edu>
-
- (The publisher takes direct sales. Their contact numbers are:
- IDG (800) 434-3422 or (415) 312-0650, outside the US +1 (415) 312-0633.)
-
- ***
-
- _Programming for System 7_ by Gary Little and Tim Swihart
- Addison-Wesley Dev Press. (1991) ISBN:0-201-56770-9
-
- (from the "Macintosh Inside Out" series, edited by Scott
- Knaster)
-
- It's a really good book. Assumes a basic knowledge of C, and
- some experience and knowledge of basic Macintosh programming
- can be helpful. I'd put it as an "advanced beginner" or
- "beginning intermediate" book. It really shows a lot about
- how to take advantage of System 7 and how to move to System 7
- (if someone is still caught back with old System 6 ways of
- doing things, or just wants to know how to do a lot of neat-o
- System 7 things, this is the book for them).
-
- Covers things like: basic System 7 things (dealing with
- Gestalt, a basic app framework), dealing with files
- (FSSpecs), volume searches, FindFolder(), aliases, Standard
- and Custom Get/PutFile routines, Notification Manager,
- Launching apps, temp memory, process manager, very robust
- coverage of AppleEvents (handling required, sending and
- receiving), Edition Manager (for happy publish and
- subscribe), using the comm toolbox (connection, terminal
- emulation, event handling, etc), using the Font Manager,
- dealing with TrueType fonts, Balloon help, and all sorts of
- other fun stuff.
-
- -- John C. Daub (Hsoi) <hsoi@tamu.edu>
-
- ***
-
- _More Mac Programming Techniques_ by Dan Parks Sydow
- M&T Books 1995, ISBN 1-55851-405-8 $39.95US/$54.00CAN
-
- Moves the reader with a solid knowledge of C or C++ and a sense of
- Mac fundamentals to intermediacy and competance in Mac-specific
- programming. Duplicates a little of the coverage in Dave Mark's
- _Ultimate Mac Programming_. Also like Mark's book, the advanced
- topics are task-based; how to do preference files, for instance,
- or working with cdevs, and so forth.
- Covers: custom menus and MDEF, custom controls and CDEF, sliders,
- control panels and cdevs, resources, resource files, using files,
- printing, appendicies with error handling according to development
- environment.
- Overall: A welcome addition to the dry area of intermediate
- Mac programming. Source and project files included in
- both Symantec and CodeWarrior formats.
-
- - Jason Newquist <jrnewquist@ucdavis.edu>
-
- Disk Included: Source code/projects for Metrowerks CodeWarrior and
- Symantec compilers. Intermediate level Mac programming techniques.
- Covers topics that are thought of as "beyond the basics." Covers
- custom menus (MDEF), custom controls (CDEF), control panels (cdev),
- resources, resource files, files, and printing.
-
- - Dan Sydow <DanParks@aol.com>
-
- Comes with a disk, and CodeWarrior-savvy code (as well as Think C).
-
- Chapter Headings:
- Custom Menus and the MDEF
- Custom Controls and the CDEF
- More Custom Controls: Sliders
- Control Panels and cdevs
- Resources
- Resource Files
- Files
- Printing
- Appendix A: Errors
-
- - Deb Baddorf <BADDORF@daffy.fnal.gov>
-
- ***
-
- _Programming for System 7_ by Gary Little and Tim Swihart
- Addison-Wesley Publishing Company, Inc. 1991 ISBN: 0-201-56770-9
-
- It's a really good book. Assumes a basic knowledge of C, and some
- experience and knowledge of basic Macintosh programming can be
- helpful. I'd put it as an "advanced beginner" or "beginning
- intermediate" book. It really shows a lot about how to take
- advantage of System 7 and how to move to System 7 (if someone is
- still caught back with old System 6 ways of doing things, or just
- wants to know how to do a lot of neat-o System 7 things, this is
- the book for them).
-
- -- John C. Daub (Hsoi) <hsoi@tamu.edu>
-
- ***
-
- _Macintosh C Programming Primer, Vol I: Inside the Toolbox_ 2nd ed.
- by Dave Mark and Cartwright Reed, Addison-Wesley ISBN 0-201-60838-3
-
- _Macintosh C Programming Primer, Vol II: Master the Toolbox_
- by Dave Mark, Addison-Wesley ISBN 0-201-57016-5
-
- The classic introduction to Macintosh programming, Dave Mark's books
- were at one point the only third party tutorial for learning to
- program the Mac. They're what I started with. The Mac toolbox has
- changed a lot since Dave wrote this so make sure you DL the "updates"
- to the included code that brings it up to 1994 specs (also posted on
- csmp.info).
- - nick.c
-
- [Vol I]: Covers all the essentials (or almost all) necessary to get
- started programming the Mac interface. Detailed information, good
- walk-through of the example code, but no disk containing code
- included (available by order for more $). I thought it was
- reasonably priced (a bit less than $30). Contains no information
- specifically on the C language, just the Mac interface.
-
- [Vol II]: Expands on volume 1. More details on some features of the
- Mac. I have only needed the information on QuickDraw Color, a topic
- I would have liked to see included on volume 1. Everything else
- about volume 1 applies here.
-
- - Steve Salyards <salyards@ess.ucla.edu>
-
-
- ***
-
- _Macintosh Programming Secrets, Second Edition_ by Scott Knaster
- & Keith Rollin, Addison Wesley, 1992 ISBN: 0-201-58134-5
-
- A good book if you're interested in seeing some of the more...
- interesting... stuff you can do on a Mac. C source code included,
- with a lot of helpful inisght into some neat tasks and tricks that
- are not intuitively obvious.
- - Samrobb <samrobb@aol.com>
-
- ***
-
- _How To Write Macintosh Software, Third Edition_ by Scott Knaster,
- Addison Wesley, 1992 ISBN: 0-201-60805-7
-
- An OUTSTANDING overview of Macintosh software, from a technical
- point of view. An excellent guide to debugging on the Mac, with
- detailed explanations of how to examine and understand the code
- that your compiler generates. Written well enough that even a
- non-assembler type like myself can understand what they're saying.
-
- - Samrobb <samrobb@aol.com>
-
- ***
-
- _Mac Programming for Dummies_, by Dan Parks Sydow
- IDG Books, 1994 ISBN 1-56884-173-6
-
- Very beginner level Mac programming using C. Assumes the
- reader may have no programming knowledge of any kind.
-
- - Ken Long <kenlong@netcom.com>
-
- Good intro, quick read, and enough information to get me going and
- introduced to the Mac. Relatively inexpensive (about $20). Not
- comprehensive, just enough to get you going and very basic. Can
- be skipped since all of the information is contained in the next
- two books [Dave Mark's _Primer's_ vol 1 & 2], but in denser format.
- Contains a brief introduction to the C language.
-
- - Steve Salyards <salyards@ess.ucla.edu>
-
-
- // ================== Mac Programming Resources =====================
- //
- // Some of these books try and teach you the toolbox or other facets
- // of programming, but they do so in terms of a specific programming
- // environment. While they may be valuable for a variety of reasons,
- // they are often the best way to familiarize yourself with the tools
- // of Macintosh progrmming: IDE's, compilers, editors, and more.
- //
-
-
- !! _Metrowerks CodeWarrior Programming for the Mac_ 2nd Ed.
- Dan Parks Sydow <DanParks@aol.com>, M&T Books, 1996
- ISBN: 1-55851-505-4
-
- **note, this new edition was just released**
-
- If you already know the C or C++ programming language and
- know something about programming -- but not Macintosh
- programming -- then this book is for you. This 1996
- revision to the original 1994 edition updates all of the
- original material and adds new chapters on text and
- strings, Power Mac programming, and application
- interaction with the Finder. Topics in this book
- include:
-
- Thorough introduction to Macintosh programming
- Macintosh memory
- Resources
- QuickDraw graphics
- Multiple window handling
- Dialog boxes and alerts
- Menus and the menu bar
- Text and strings
- Special considerations for Power Mac programming
- Writing programs that are aware of the features
- of the user's machine
- Apple events and application icons
- Toolbox routine summary
-
- - <http://members.aol.com/dansydow/mybooks.html>
-
- ***
-
- _Visual Programming With Prograph CPX_ by Scott Steinman
- and Kevin Carver, 1995 ISBN: 1-884777-05-8, 427 pages
-
- - nick.c
- ***
-
- _Mastering the THINK Class Library_ by Richard O. Parker
- Addison Wesley, 1995 ISBN: 0-201-48356-4
-
- - nick.c
- ***
-
- !! _CodeWarrior Software Development Using PowerPlant_
- by Jan L. Harrington, AP Professional, 1996 ISBN: 0-12-326422-7
-
- - nick.c
- ***
-
- _Symantec C++ for the Macintosh: The Basics_ by John May
- & Judy Whittle, M&T Books, 1993 ISBN: 1-55828-276-9
-
- A good introduction to Symantec's C++ environment, one of the
- best programming environment's for the mac (IMHO). Reintroduces
- basic C++ concepts and the environment in detail. Includes
- example source code on enclosed floppy disk.
-
- - nick.c
- ***
-
- _Power Macintosh Programming Starter Kit_ by Tom Thompson
- Hayden Books, 1994 ISBN: 1-56830-091-3
-
- A good introduction to MetroWerk's CodeWarrior, the other best
- programming environment for the mac, the only one to use if you're
- building PPC code, and my current favorite. The enclosed CD
- has a limited version of CodeWarrior (you can only work on
- the projects included in the disc - can't create new ones),
- and example code. Covers a lot of toolbox issues that are
- not explored in other introductory books and the PPC architecture
- in detail. Assumes working knowledge of C, and the toolbox.
-
- - nick.c
- ***
-
- _Think THINK C!_, by Dan Parks Sydow <DanParks@aol.com>
- Prima Publishing, 1993 ISBN 1-55958-388-6
-
- Beginner-intermediate level Mac programming using Symantec
- THINK C compiler.
- - Ken Long <kenlong@netcom.com>
-
- A quick intro to using C on the Mac. Assumes no prior knowledge
- of C, though some programming knowledge and Mac experience is
- helpful (as always). The real meat of the book comes with the
- accompanying disk which provides a number of animations in a
- hyper-card like fashion. Pretty well-done, and helpful.
- Covers: C data types, functions, operators, looping, branching,
- pointers and memory, arrays and structures, simple QuickDraw, intro
- to ResEdit and Resources, events, simple interface.
- Overall: Recommended to get your feet wet in the very basics of C.
- Despite the emphasis on the Symantec, it does a good job
- introducing the user to a development environment simultaneously
- with the language.
- - Jason Newquist <jrnewquist@ucdavis.edu>
-
- ***
-
- _Symantec C++: Object-Oriented Fundamentals for the Macintosh_
- by DanParks Sydow <DanParks@aol.com>, Prima Publishing, 1994
- ISBN: 1-55958-633-8
-
- Disk Included: Software tutorial and Symantec source code/projects.
- Beginner-intermediate level Mac programming using Symantec C++
- compiler. Teaches C++ and object-oriented programming techniques.
- C++, Toolbox, windows as objects, more. Assumes a minimal knowledge
- of C, but no knowledge of C++.
-
- - Dan Sydow <DanParks@aol.com>
-
- ***
-
- _ResEdit Complete_, 2nd edition by Peter Alley and Carolyn Strange
- Addison-Wesley, (c) 1994 ISBN 0-201-62686-1 $34.95US/$44.95CAN
-
- Not many computer books reach a second edition. This one, however,
- did, and it shows. The writing is much more crisp, clean and
- readable than in many other books. It's not a fast read, but
- you'll rarely be crying out at ambiguity. The book contains two
- parts: one for the non-programmer types, and one for advanced
- topics that programmers will appreciate. If you're new to
- programming, this book will give you a *long* head start into the
- field of resource types and their manipulation (at least in the
- realm of the 68K Macs). By using ResEdit as an tool for
- introducing resources, the authors have a focused and good
- introductory text that'll get anyone up and running in a few days.
- Comes with a disk with ResEdit 2.1.1.
- Covers: resource basics, ResEdit basics; a section on customizing
- your Mac with icons, patterns, pointers, menus, keyboard, windows/
- dialogs/alerts, fonts, various tips; a section on templates; a
- section on color manipulation; and a final section on programming
- with ResEdit (about 100 pages) covering creation and editing of
- resources and templates, resource mapping; appendicies with a few
- tips, a list of resource types, and using hexadecimal to edit.
- Overall: not quite a programming book, but certainly something that
- the newbie who wants to get ahold of programming techniques that
- are accessible without the use of a programming language. Contains,
- though, some valuable info about the use of templates and other
- ResEdit tricks that most other books just gloss over. If you're
- brand new to Mac programming, it's worth the price.
-
- - Jason Newquist <jrnewquist@ucdavis.edu>
-
-
- // ======================== Learning the PowerMac =====================
- //
- // A revolution is occurng on the Macintosh. The central processor, and
- // thus the basic Macintosh architecture is being replaced with a new
- // style of processor: the RISC (reduced instruction set computing) chip.
- // The following are text's that try and explain the unique aspects of
- // Programming a PowerMac. The principles here are subtle, and build
- // off of a solid understanding of C and the Toolbox.
- //
-
-
- _Programming the PowerPC_ by Dan Parks Sydow <DanParks@aol.com>
- M&T Books (a Divison of MIS:PRESS), 1994 ISBN 1-55851-400-7
-
- Disk Included: Source code/projects for Metrowerks and Symantec
- Cross-Development Kit compilers.
-
- Intermediate level Mac programming tips and techniques for
- programming the new PowerPC processor-based Power Macs. PowerPC
- architecture, porting code, math, shared libraries (import
- libraries), more. Covers general techniques, and specific examples
- for the Metrowerks PowerPC and Symantec Cross-Development Kit (CDK)
- compilers.
- - Ron Liechty <MWRon@metrowerks.com>
-
- ***
-
- _Power Macintosh Programming Starter Kit_ by Tom Thompson
- Hayden Books, 1994 ISBN: 1-56830-091-3
-
- A good introduction to MetroWerk's CodeWarrior, the other best
- programming environment for the Macintosh. The enclosed CD has
- a limited version of CodeWarrior (you can only work on the projects
- included in the disc - can't create new ones), and example code.
- Covers a lot of toolbox issues that are not explored in other
- introductory books and the PPC architecture in detail. Assumes
- working knowledge of C, and the toolbox.
-
- - nick.c
- ***
-
- _Optimizing PowerPC Code: Programming the PowerPC Chip in
- Assembly Language_ by Gary Kacmarcik Addison-Wesley,
- ISBN: 0-201-40839-2.
-
- All in all, seems a decent book. Certainly more readable than the
- Motorola PowerPC 601 User's Handbook that I've been using, and
- makes MUCH more sense, as well. Has interesting discussions on
- optimization from various perspectives like cache coherency,
- keeping the pipelines full, that sort of thing. Virtually all of
- the discussion is about the 601. The 603 is mentioned, but not the
- 604 or the 620.
-
- The book is NOT Mac-specific, nor IBM-specific, and in fact, doesn't
- address assembler details like TOC's, etc., at all.
-
- All in all, it is the very best book on PowerPC optimization that
- I have ever read, and I'd be willing to bet dollars to donuts that
- it is the best available. The fact that it is the *only* one
- available makes me pretty confident...
-
- Kidding aside, it is pretty good, and looks to be worth the money.
- Now if someone would just publish a book explaining how to actually
- *use* PPCAsm with MPW, or if MetroWerks really has added a
- function-level assembler, I'd be very happy indeed.
-
- - Lawson English <english@primenet.com>
-
- ***
-
- [Corrections, comments, or suggestions should be mailed to Nick DeMello
- at <nick@chem.ucla.edu>. The latest version of this review can be found
- at <ftp://members.aol.com/codeweaver/bookreview_1.txt>
- <ftp://members.aol.com/codeweaver/bookreview_2.txt>
- <ftp://members.aol.com/codeweaver/bookreview_3.txt>]
-
-
-
- ==========================================================================
- Comp.sys.mac.programmer.info is a moderated newsgroup, where FAQ's,
- reviews, job listings, and other information valuable to Macintosh
- programmers may be posted and found.
-
- csmp.info is moderated by Nicholas C. DeMello <Online@MacTech.com>
- of MacTech Magazine, the Journal of Macintosh Programming
- <http://www.mactech.com/>
- ==========================================================================
-
-